<link rel="stylesheet" type="text/css" href="/lib/front/main.css">
<link rel="stylesheet" type="text/css" href="/lib/front/reset.css">
<script type="text/javascript" src="/lib/js/jquery.min.js"></script>
<script type="text/javascript" src="/lib/js/jquery.min.js"></script>
<body>
<div class="headerBar">
	<div class="logoBar red_logo">
		<div class="comWidth">
			<div class="logo fl">
				<a href="#"><img style="width:200px;" src="./img/login.jpg" alt="慕课网"></a>
			</div>
			<h3 class="welcome_title">欢迎注册</h3>
		</div>
	</div>
</div>

<div class="regBox">

<form role="form" class="form-horizontal"
      action="register"
      method="POST" enctype="multipart/form-data" onsubmit="goregister()">

	<div class="login_cont">
		<ul class="login">
			<li><span class="reg_item"><i>*</i>昵称：</span><div class="input_item"><input id="nick" type="text" name="nick" class="login_input user_icon"></div></li>
			<li><span class="reg_item"><i>*</i>账户名：</span><div class="input_item"><input id="name" type="text" name="name" class="login_input user_icon"></div></li>
			<li><span class="reg_item"><i>*</i>密码：</span><div class="input_item"><input id="pass" type="password" name="password" class="login_input user_icon"></div></li>
			上传头像<input type="file" class=full-left" name="images">
			<li class="autoLogin"><span class="reg_item">&nbsp;</span><input type="checkbox" id="t1" class="checked"><label for="t1">我同意什么什么条款</label></li>
			<li><span class="reg_item">&nbsp;</span><button type="submit" class="login_btn">注册</button></li>
		</ul>	
	</div>
</form>
</div>

<div class="hr_25"></div>
<div class="footer">
  <p><a href="#">我的书城简介</a><i>|</i><a href="#">公告</a><i>|</i> <a href="#">招纳贤士</a><i>|</i><a href="#">联系我们</a><i>|</i>客服热线：000-6705-1234</p>
  <p>Copyright &copy; 2017 - 2020 sky版权所有&nbsp;&nbsp;&nbsp;京ICP备09037834号&nbsp;&nbsp;&nbsp;京ICP证B1034-8373号&nbsp;&nbsp;&nbsp;某市公安局XX分局备案编号：123456789123</p>
  <p class="web"><a href="#"><img src="img/foot1.png" alt="logo">7天无理由退货</a><a href="#"><img src="img/foot2.png" alt="logo">15天免费换货</a><a href="#"><img src="img/foot3.png" alt="logo">满99包邮</a><a href="#"><img src="img/foot4.png" alt="logo">全心服务</a></p>
</div></div></body>

<script type="text/javascript">
// function goregister() {
//   var nick = $("#nick").val();
//   var name = $("#name").val();
//   var pass = $("#pass").val();
//   if(name == "" || undefined){
//     alert("账号不能为空！");
//     $("#name").focus();
//     return false;
//   }else if(pass == "" || undefined){
//     alert("密码不能为空！");
//     $("#pass").focus();
//     return false;
//   }else if(nick == "" || undefined){
//     alert("昵称不能为空！");
//     $("#pass").focus();
//     return false;
//   }
//   // return true;
// }
</script>